home *** CD-ROM | disk | FTP | other *** search
- property ancestor
-
- on new me, buttonName, castName, theChannel, theStageLoc, descendant
- if objectp(descendant) then
- ancestor = new(script("generic button"), buttonName, castName, theChannel, theStageLoc, descendant)
- else
- ancestor = new(script("generic button"), buttonName, castName, theChannel, theStageLoc, me)
- end if
- return me
- end
-
- on performFunction me
- sound stop 1
- set the puppet of sprite 15 to 0
- set the puppet of sprite 8 to 0
- go(the frame + 1)
- end
-